//------ global variables --------------------------------------------------

var parapara      = null;
var para_rpc_url  = "remote.php";

//------ debugger ----------------------------------------------------------
function para_debug( message ) {
    if($('parabox_debug') != null) {
        var div = new Element('div', {'class': 'paraforum_debug_item'});
        div.set( 'text', message );
        $('parabox_debug').adopt( div );
    }
}

para_debug("Debugger bugger");

//------ loader ------------------------------------------------------------

function start_parapara() {
    parapara     = new ParaPara( para_rpc_url, para_load );
    parapara.start();
}


window.addEvent( 'domready', start_parapara );
